<div class="toolbarTabs">
	<ul id="panelTabs" class="tab-menu">
		<li id="panelTabs1Link" class="selected"><a>记事本</a></li>
	<!--	<li id="panelTabs2Link"><a>help</a></li>-->
	</ul>
	<div class="clear"></div>
</div>

<script type="text/javascript">
  var pageindex=0;
	MochaUI.initializeTabs('panelTabs');

	$('panelTabs1Link').addEvent('click', function(e){
		if (pageindex==0){
			return false;
		}else{
			pageindex=0;			
		}
			
		
		
		MochaUI.updateContent({
			'element':  $('main-panel'),
			'url':       'pages/'+lang+'/notepad.html'
		});
	});
/*
	$('panelTabs2Link').addEvent('click', function(e){
		MochaUI.updateContent({
			'element':  $('main-panel'),
			'url':       'pages/login.html'
		});
	});
	*/

</script>